package com.video.video.domain;

import com.video.common.core.domain.BaseEntity;
import java.math.BigDecimal;
import com.video.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 商品对象 d_goods
 *
 * @author ruoyi
 * @date 2022-09-27
 */
public class DGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分类ID */
    private String id;

    /** 商品分类 */
    private String cid;

    /** 商品分类 */
    private String cid2;

    /** 商品分类 */
    @Excel(name = "一级分类")
    private String classifyName;

    /** 商品分类 */
    @Excel(name = "二级分类")
    private String classifyName2;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodName;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String imageUrl;

    /** 视频下载路径 */
    @Excel(name = "视频下载路径")
    private String videoUrl;


    /** 售价 */
    @Excel(name = "售价")
    private BigDecimal sellPrice;

    /** 下载标记 1 未下载 2 已下载 */
//    @Excel(name = "下载标记 1 未下载 2 已下载")
    private String downloadFlg;

    @Excel(name = "下载标记")
    private String downloadFlgZw;

    /** 试看时间，单位秒 */
    @Excel(name = "试看时间，单位秒")
    private Integer testTime;

    /** 商品状态 1启用 2禁用 */
    private String status;

    /**购买人ID***/
    private String  buyerId;

    /** 商品状态 1启用 2禁用 */
    @Excel(name = "商品状态")
    private String statusZw;

    /** 创建者 */
    @Excel(name = "创建人")
    private String createUserName;


    /**
     * 2024-06-11新加字段
     * @param id
     */
    private String videoPrefix;
    private Integer videoNum;
    private String videoFormat;


    public String getVideoPrefix() {
        return videoPrefix;
    }

    public void setVideoPrefix(String videoPrefix) {
        this.videoPrefix = videoPrefix;
    }

    public Integer getVideoNum() {
        return videoNum;
    }

    public void setVideoNum(Integer videoNum) {
        this.videoNum = videoNum;
    }

    public String getVideoFormat() {
        return videoFormat;
    }

    public void setVideoFormat(String videoFormat) {
        this.videoFormat = videoFormat;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setCid(String cid)
    {
        this.cid = cid;
    }

    public String getCid()
    {
        return cid;
    }
    public void setGoodName(String goodName)
    {
        this.goodName = goodName;
    }

    public String getGoodName()
    {
        return goodName;
    }
    public void setImageUrl(String imageUrl)
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl()
    {
        return imageUrl;
    }
    public void setVideoUrl(String videoUrl)
    {
        this.videoUrl = videoUrl;
    }

    public String getVideoUrl()
    {
        return videoUrl;
    }
    public void setSellPrice(BigDecimal sellPrice)
    {
        this.sellPrice = sellPrice;
    }

    public BigDecimal getSellPrice()
    {
        return sellPrice;
    }
    public void setDownloadFlg(String downloadFlg)
    {
        this.downloadFlg = downloadFlg;
    }

    public String getDownloadFlg()
    {
        return downloadFlg;
    }
    public void setTestTime(Integer testTime)
    {
        this.testTime = testTime;
    }

    public Integer getTestTime()
    {
        return testTime;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    public String getClassifyName() {
        return classifyName;
    }

    public void setClassifyName(String classifyName) {
        this.classifyName = classifyName;
    }

    public String getDownloadFlgZw() {
        return downloadFlgZw;
    }

    public void setDownloadFlgZw(String downloadFlgZw) {
        this.downloadFlgZw = downloadFlgZw;
    }

    public String getStatusZw() {
        return statusZw;
    }

    public void setStatusZw(String statusZw) {
        this.statusZw = statusZw;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public String getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(String buyerId) {
        this.buyerId = buyerId;
    }

    public String getCid2() {
        return cid2;
    }

    public void setCid2(String cid2) {
        this.cid2 = cid2;
    }

    public String getClassifyName2() {
        return classifyName2;
    }

    public void setClassifyName2(String classifyName2) {
        this.classifyName2 = classifyName2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cid", getCid())
            .append("cid2", getCid2())
            .append("goodName", getGoodName())
            .append("imageUrl", getImageUrl())
            .append("videoUrl", getVideoUrl())
            .append("sellPrice", getSellPrice())
            .append("downloadFlg", getDownloadFlg())
            .append("testTime", getTestTime())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
